package com.java2207.group1.service;

import com.java2207.group1.common.LayuiPageVo;
import com.java2207.group1.pojo.Room;
import com.java2207.group1.vo.consult.BarVo;
import com.java2207.group1.vo.consult.PieVo;

import java.util.List;
import java.util.Map;

/**
 * @author :xs
 * @date : 2022/7/26
 */
public interface RoomService {
    LayuiPageVo<Room> roomPage(Map<String, Object> params);

    int deleteRoom(Integer id);


    int addRoom(Room room);

    int updataRoom(Room room);

    List<PieVo> TypeNameData();

    List<BarVo> TypeNameBarData();


    int remove(String ids);
}
